Ext.define('Seq.grid.column.Number', {
    extend: 'Ext.grid.column.Number',
    xtype: 'xnumbercolumn',

    width: 95,
    align: 'right',
    format: '0.##',
    scale: 1, // 比例
    menuDisabled: true,

    renderer(value, metaData, record, rowIndex, colIndex, store, view) {
        let column = metaData.column;
        return Ext.isEmpty(value) ? '' : Ext.isNumeric(value) ? Ext.util.Format.number(value / column.scale,
            column.format) : '---';
    }
});